package cn.hquanheng.java_base.day06;

import org.junit.Test;

public class Example {
	private int x;
	private double y;
	private int text;
	
	
	public Example(int x) {
		this.x=x;
		y=9;
	}
	public Example(double y) {
		this.y=y;
	}
	public Example() {
		this(6);
	}

	@Test
	public void text1() {
	Example e=new Example();
	}
}
	
/*	
	
	public int gcd(int x,int y) {
		int z=x%y;
		while(z!=0) {
			x=y;
			y=z;
			z=x%y;
		}
		
		return y;
	}
	public int getX() {
		return x;
	}
	public void setX(int x) {
		this.x = x;
	}
	public int getY() {
		return y;
	}
	public void setY(int y) {
		this.y = y;
	}
	@Test
	public void text() {
		Example e=new Example();
		e.setX(6);
		e.setY(9);
		System.out.println(e.gcd(e.getX(), e.getY()));
		
		
	}

}
*/
